package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 物流信息记录表 
 *
 * @author WeiZiDong
 */
@Table(name = "`ums_logistics_record_info`")
@Data
@ApiModel("物流信息记录表")
public class UmsLogisticsRecordInfo implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`order_id`")
    @ApiModelProperty(value = "订单id", example = "String")
    private String orderId;
    @Column(name = "`logistics_record_id`")
    @ApiModelProperty(value = "物流接单id", example = "String")
    private String logisticsRecordId;
    @Column(name = "`driver_name`")
    @ApiModelProperty(value = "司机名称", example = "String")
    private String driverName;
    @Column(name = "`driver_phone`")
    @ApiModelProperty(value = "司机电话", example = "String")
    private String driverPhone;
    @Column(name = "`longitude`")
    @ApiModelProperty(value = "经度", example = "String")
    private String longitude;
    @Column(name = "`latitude`")
    @ApiModelProperty(value = "纬度", example = "String")
    private String latitude;
    @Column(name = "`lbs_address`")
    @ApiModelProperty(value = "lbs实际物理地址", example = "String")
    private String lbsAddress;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "1")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "1")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
